package com.thesis.dao;

import com.github.pagehelper.Page;
import com.thesis.entity.SysNotice;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SysNoticeMapper {
    int deleteByPrimaryKey(Long id);

    int insert(SysNotice record);

    int insertSelective(SysNotice record);

    SysNotice selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(SysNotice record);

    int updateByPrimaryKeyWithBLOBs(SysNotice record);

    int updateByPrimaryKey(SysNotice record);


    Page<SysNotice> findPageList(@Param("queryParam") SysNotice record);

    Page<SysNotice> findPageListByVague(@Param("queryParam")SysNotice queryParam, @Param("vagueParam") String vagueParam);

    Integer deleteBatchByIds(List<Integer> idList);
}